package gtkwire.widget.utils;

/**
*A GtkWindow can be one of these types. Most things you'd consider a "window" should have type GTK_WINDOW_TOPLEVEL; windows with this type are managed by *the window manager and have a frame by default. Windows with type GTK_WINDOW_POPUP are ignored by the window manager; window manager keybindings won't *work on them, the window manager won't decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize *grips and maximization/minimization). GTK_WINDOW_POPUP is used to implement widgets such as GtkMenu or tooltips that you normally don't think of as *windows per se. Nearly all windows should be GTK_WINDOW_TOPLEVEL. In particular, do not use GTK_WINDOW_POPUP just to turn off the window borders; use *gtk_window_set_decorated() for that.
*Documentation for this class is from the gtk+ file that this class binds to. See original file for copyrights.
*/
public class GtkWindowType
{
	/**
	* A regular window, such as a dialog.
	*/
	public static final GtkWindowType TOPLEVEL = new GtkWindowType("GTK_WINDOW_TOPLEVEL");

	/**
	*A special window such as a tooltip.
	*/
	public static final GtkWindowType POPUP = new GtkWindowType("GTK_WINDOW_POPUP");

	private String mode;

	private GtkWindowType( String mode )
	{
		this.mode = mode;
	}

	public String getMode(){ return mode; }

}//end class
